package design;

public class Singleton_01懒汉模式线程不安全 {

    private static Singleton_01懒汉模式线程不安全 instance;

    private Singleton_01懒汉模式线程不安全() {
    }

    public static Singleton_01懒汉模式线程不安全 getInstance(){
        if (null != instance) return instance;
        return new Singleton_01懒汉模式线程不安全();
    }

}
